package Model.Draw;

/**
 *
 * @author José Luz
 */
public abstract class Line {
    private Point extreamSourcePoint;
    private Point extreamTargetPoint;
    
    public Line(Point extreamSourcePoint, Point extreamTargetPoint){
        this.extreamSourcePoint = extreamSourcePoint;
        this.extreamTargetPoint = extreamTargetPoint;
    }

    /**
     * @return the extreamSourcePoint
     */
    public Point getExtreamSourcePoint() {
        return extreamSourcePoint;
    }

    /**
     * @param extreamSourcePoint the extreamSourcePoint to set
     */
    public void setExtreamSourcePoint(Point extreamSourcePoint) {
        this.extreamSourcePoint = extreamSourcePoint;
    }

    /**
     * @return the extreamTargetPoint
     */
    public Point getExtreamTargetPoint() {
        return extreamTargetPoint;
    }

    /**
     * @param extreamTargetPoint the extreamTargetPoint to set
     */
    public void setExtreamTargetPoint(Point extreamTargetPoint) {
        this.extreamTargetPoint = extreamTargetPoint;
    }
}